package day20171031;

public class Append {
    public static void main(String[] args) {
        StringBuffer a=new StringBuffer("A");
        StringBuffer b=new StringBuffer("B");
        operate(a,b);
        System.out.println("a="+a+"b="+b );
    }
    static  void operate(StringBuffer x,StringBuffer y){
        x.append(y);
        y=x;
        System.out.println("x="+x+"y="+x);
    }
}
